package com.sukumar.android.sms;

public class BingDetails {
	private String bingId = "";
	private String bingFrom = "";
	private String bingText = "";
	private String bingSentTo = "";
	private int count = 1;

	public String toString() {
		if(this.getBingId().equals("-9999")){
			return "You have no more BING's left.";
		}else{
			return this.getBingId() + " (" + this.getCount() + "): " + "Sent to : "
			+ this.getBingSentTo() + ", " + this.getBingText();	
		}
		
	}

	public boolean equals(Object o) {
		return o instanceof BingDetails
				&& ((BingDetails) o).bingId.compareTo(bingId) == 0;
	}

	public String getBingId() {
		return bingId;
	}

	public void setBingId(String bingId) {
		this.bingId = bingId;
	}

	public String getBingFrom() {
		return bingFrom;
	}

	public void setBingFrom(String bingFrom) {
		this.bingFrom = bingFrom;
	}

	public String getBingText() {
		return bingText;
	}

	public void setBingText(String bingText) {
		this.bingText = bingText;
	}

	public String getBingSentTo() {
		return bingSentTo;
	}

	public void setBingSentTo(String bingSentTo) {
		this.bingSentTo = bingSentTo;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
}
